<template>
    <div>
        <!--实现头部  使用的是mint-ui-->
        <mt-header title="2018.cn中国信息分类网站">
            <router-link to="/" slot="left">
                <mt-button icon="back">返回</mt-button>
            </router-link>
            <mt-button icon="more" slot="right"></mt-button>
        </mt-header>
        <!--路由部分的占位符-->

        <router-view></router-view>
    
        <!--底部部分 使用的是mui插件-->

        <nav class="mui-bar mui-bar-tab">
			<router-link class="mui-tab-item mui-active" to="/home">
				<span class="mui-icon mui-icon-home"></span>
				<span class="mui-tab-label">首页</span>
			</router-link>
			<router-link class="mui-tab-item" to="/tabbar-with-chat">
				<span class="mui-icon mui-icon-contact"></span>
				<span class="mui-tab-label">会员</span>
			</router-link>
			<router-link class="mui-tab-item" to="/tabbar-with-contact">
				<span class="mui-icon mui-icon-contact">
                    <span class="mui-badge">2</span>
                </span>
				<span class="mui-tab-label">购物车</span>
			</router-link>
			<router-link class="mui-tab-item" to="/tabbar-with-map">
				<span class="mui-icon mui-icon-search"></span>
				<span class="mui-tab-label">搜索</span>
			</router-link>
		</nav>

    
    </div>
</template>
<script>
//负责导出，vue这个组件对象（本质就是一个vue对象）所以vue中定义的元素都可以使用
export default {
    data: function () {
        return {

        }
    },
    methods: {

    },
    created() {

    }

}
</script>
<style scoped>

</style>

